<template>
  <div id="dictManagement">

    <el-container>
      <el-aside width="300px">
        <dict-tree @chooseParentId = "chooseParentId"/>
      </el-aside>
      <el-main>
        <dict-right ref="childModel" />
      </el-main>
    </el-container>

  </div>
</template>

<script>
import DictRight from './components/dictRight.vue'
import dictTree from './components/dictTree.vue'
export default {
  components: { dictTree, DictRight },
  name: 'dictManagement',
  data() {
    return {
    }
  },
  methods: {
    chooseParentId(query) {
      this.$refs.childModel.receiveParent(query)
    }
  }
}
</script>

<style lang="scss" scoped>

</style>